<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">

        <link type="text/css" rel="stylesheet" href="{TPL}css/AddItemPanel.css">

                <link type="text/css" rel="stylesheet" href="{TPL}css/NewTopFoot.css" />

                <link type="text/css" rel="stylesheet" href="templates/default/css/ShoppingRecords.css">

		<link type="text/css" id="styleName" rel="stylesheet"

			href="{TPL}css/blue/color.css"/ >

                        <link type="text/css" rel="stylesheet" href="{TPL}css/circuit.css" />

                        <script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>

                        <title>订单列表 - {$cfg_site_name}</title>

</head>

<body>

        {template 'header'}

        <div class="admin">

                <div class="ding">

                        <div class="shouye">

                                <a title="我的首页" href="{url_m.php}"></a>

                        </div>

                        <div class="lb">

                                <div class="weizhi">

                                        <b>{lang Location}：</b><a href="{url_m.php}">{lang

                                                Member_Center}</a><span>&gt;</span> 订单列表

                                </div>



                                <div class="shezhi">

                                        <p>

                                                <a href="{url_m.php}">{lang My_Member_Center}</a><span>|</span>{lang

                                                Setting_style}：

                                        </p>

                                        <ul>

                                                <li onclick="changeStyle('orange')" class="mypanliS1"></li>

                                                <li onclick="changeStyle('grey')" class="mypanliS2"></li>

                                                <li onclick="changeStyle('blue')" class="mypanliS3"></li>

                                        </ul>

                                </div>

                        </div>

                </div>

                {template 'member_left'}

                <div class="fill">

                <p>&nbsp;</p>

                <p>&nbsp;</p>

			    <div class="biao tui">

                        <table border="0" cellspacing="1" class="tablesorter">

                                                <tbody>

                                                        <tr>

                                                                <td width="64">ID</td>

                                                                <td colspan="2"><?php echo $delivery['did']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>状态</td>

                                                                <td colspan="2"><?php echo $delivery['status_info']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>商品</td>

                                                                <td colspan="2"><table>

                                                                  <?php foreach($goods as $good){?>

                                                                  <tr>

                                                                    <td>快递：<?php echo $good['extype']?></td>

                                                                    <td>号码：<?php echo $good['ex']?></td>

                                                                    <td>内容：<?php echo $good['bag']?></td>

                                                                    <td>重量：<?php echo $good['weight']?>kg</td>

                                                                  </tr>

                                                                  <?php }?>

                                                                </table></td>

                                                        </tr>

                                                        <tr>

                                                                <td>收件人</td>

                                                                <td colspan="2"><?php echo $delivery['consignee']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>国家</td>

                                                                <td colspan="2"><?php echo $delivery['country']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>城市</td>

                                                                <td colspan="2"><?php echo $delivery['city']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>邮编</td>

                                                                <td colspan="2"><?php echo $delivery['zip']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>电话</td>

                                                                <td colspan="2"><?php echo $delivery['tel']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>详细地址</td>

                                                                <td colspan="2"><?php echo $delivery['address']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>备注</td>

                                                                <td colspan="2"><?php echo $delivery['remark']?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>商品重量</td>

                                                                <td colspan="2"><?php echo $allWeight;?>kg</td>

                                                        </tr><?php if( $delivery['firm']){ ?> 						<tr>                                                                <td>否取出单据</td>                                                                <td><?php if($delivery['receipt']){echo'是';}else{echo'否';}?></td>                                                        </tr>                                                        <tr>                                                                <td>是否加固 </td>                                                                <td><?php if( $delivery['firm']){echo'是';}else{echo'否';}?></td>                                                        </tr>                                                        <tr>                                                                <td>是否购买箱子</td>                                                                <td><?php if( $delivery['box']){echo'是';}else{echo'否';}?></td>                                                        </tr>															 <tr>																	<td>加固价格</td>																	<td><?php echo $delivery['firm_price'];?></td>															</tr>															<?php  } ?>															<?php if( $delivery['box']){ ?>															<tr>																	<td>箱子价格</td>																	<td><?php echo $delivery['box_price'];?></td>															</tr>															<?php } ?>
                                                        <tr>                                                                <td>备注</td>                                                                <td><?php echo $delivery['remark'];?></td>                                                        </tr>
                                                        <?php if($delivery['weight']){?>

                                                        <!--<tr>

                                                                <td>最后重量</td>

                                                                <td><?php echo $delivery['weight'];?>kg</td>

                                                        </tr>-->

                                                        <?php }?>

                                                        <?php if($delivery['deliverynum']){?>

                                                        <tr>

                                                                <td>快递名称</td>

                                                                <td width="139"><?php echo $delivery['deliveryname'];?></td>

                                                                <td width="200" rowspan="2"><table width="100%">
                                                                  <tr>
                                                                    <td width="102" align="center"><a href="http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de&idc=<?php echo $delivery['deliverynum'];?>&extendedSearch=true" target="_blank"><img src="/images/dhl.gif" alt="DHL快递查询" width="100" height="40" /></a></td>
                                                                    <td width="102" align="center"><a href="http://intmail.183.com.cn/" target="_blank"><img src="/images/ems.gif" alt="EMS快递查询" width="100" height="40" /></a></td>
                                                                    <td width="102" align="center"><a href="http://www.tnt.de/servlet/Tracking?respCountry=de&respLang=de&navigation=1&page=1&sourceID=1&sourceCountry=ww&plazaKey=&refs=&requesttype=GEN&genericSiteIdent=&searchType=CON&cons=<?php echo $delivery['deliverynum'];?>" target="_blank"><img src="/images/tnt.gif" alt="TNT快递查询" width="100" height="40" /></a></td>
                                                                  </tr>
                                                                </table></td>

                                                        </tr>

                                                        <tr>

                                                                <td>快递单号</td>

                                                                <td><?php echo $delivery['deliverynum'];?></td>

                                                        </tr>

                                                        <?php }?>

                                                        <?php if($delivery['commenttime']){?>

                                                        <tr>

                                                                <td>评论</td>

                                                                <td colspan="2"><?php echo $delivery['comment'];?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>评论时间</td>

                                                                <td colspan="2"><?php echo date('Y-m-d H:i:s', $delivery['commenttime']);?></td>

                                                        </tr>

                                                        <?php }?>

                                                        <?php if($delivery['replytime']){?>

                                                        <tr>

                                                                <td>回复</td>

                                                                <td colspan="2"><?php echo $delivery['reply'];?></td>

                                                        </tr>

                                                        <tr>

                                                                <td>回复时间</td>

                                                                <td colspan="2"><?php echo date('Y-m-d H:i:s', $delivery['replytime']);?></td>

                                                        </tr>

                                                        <?php }?>

                                                        <tr>

                                                                <td>状态</td>

                                                                <td colspan="2"><?php echo $delivery['status_info'];?></td>

                                                        </tr>

                                                        <form action="m.php?name=goodsdelivery&action=detail&did=<?php echo $did;?>" method="post">

                                                        <?php if($delivery['status'] == 2){?>

                                                        <tr>

                                                                <td colspan="3">

                                                                        <input type="hidden" name="status" value="3"/>

                                                                        <input type="submit" value="审核通过"/>

                                                                </td>

                                                        </tr>

                                                        <?php }?>

                                                        </form>

                                                        <?php if($delivery['status'] == 4){?>

                                                        <tr>

                                                                <td>运费</td>

                                                                <td colspan="2"><?php echo $delivery['price'];?></td>

                                                        </tr>
														<tr>

                                                                <td>总价</td>

                                                                <td colspan="2"><?php echo $allPrice;?></td>

                                                        </tr>
                                                        <tr>

                                                                <td colspan="3"><a href="m.php?name=goodsdelivery&action=pay&did=<?php echo $did;?>">付款</a></td>

                                                        </tr>

                                                        <?php }?>

                                                </tbody>

                                        </table>

          </div></div>

                <div class="yj"></div>

        </div>

        {template 'footer'}

</body>

</html>